<?php
/**
 * This controller is used to process login with facebook
 *
 * @author	huytbt
 * @date	2012-05-23
 * @version	1.0
 */
class LoginController extends HController
{
	/**
	 * Returns the access rules for this controller.
	 * Override this method if you use the {@link filterAccessControl accessControl} filter.
	 * @return array list of access rules. See {@link CAccessControlFilter} for details about rule specification.
	 */
	public function accessRules()
	{
		return array(
			array('allow',  // allow all users anything not specified
				'users'=>array('*'),
			),
		);
	}
	
	/**
	 * This action isused to render page login
	 */
	public function actionIndex()
	{
		$this->render('index');
	}
}